package com.training.bt.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.training.bt.entity.ResourceTag;

public interface ResourceTagMapper extends BaseMapper<ResourceTag> {
    List<Long> selectPagedRecommendationIds(
            @Param("offset") long offset,
            @Param("pageSize") long pageSize,
            @Param("userId") Long userId,
            @Param("tagIds") List<Long> tagIds);

    long countRecommendations(
            @Param("userId") Long userId,
            @Param("tagIds") List<Long> tagIds);
}